<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();
    String queryString = request.getQueryString() == null
            ? ""
            : request.getQueryString().replaceAll("(\\&?lang\\=[a-zA-Z]{2})|(lang\\=[a-zA-Z]{2}\\&?)", "");
%>
<html>
<head>
    <link rel="stylesheet" href="<%=basePath%>/css/area/header.css">
</head>
<body>
<header>
    <div class="left">
        <i class="fa fa-arrow-left goback" onclick="javascript:history.go(-1);"></i>
        <div id="language">
            <span class="language">简体中文</span>
            <ul>
                <li><a href="?<%=queryString%>&lang=zh">简体中文</a></li>
                <li><a href="?<%=queryString%>&lang=en">English</a></li>
            </ul>
        </div>
    </div>
    <div class="center">
        <ul>
            <li class="on"><a href="<%=basePath%>/index/page" i18n="share.title.zl"></a></li>
            <li id="header-page"><a href="<%=basePath%>/charts/area/allocation/hospital-page" i18n="share.title.fx"></a></li>
            <li><a class="header-logout" i18n-title="share.title.tcdl"><img src="<%=basePath%>/plugins/charts/images/logout.png"></a></li>
        </ul>
    </div>
    <div class="right">
        <div class="time-hospital">
            <p class="time"></p>
            <p class="hospital"></p>
        </div>
    </div>
</header>
<script src="<%=basePath%>/plugins/jquery-i18n-properties/jquery.i18n.properties.min.js"></script>
<script src="<%=basePath%>/js/area/header-overview.js"></script>
</body>
</html>
